<?
/**
* Copyright (c) 2002-2007 BioWare Corp.
* http://www.bigdaddymonitor.org
*
* This file is part of the BigDaddy Monitoring
* program. It is free software distributed under
* the terms of the BSD License. It is ditributed
* in the hopes that it will be useful, but
* WITHOUT ANY WARRANTY; without event the implied
* warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE.
*
* The BSD License is available from:
* http://www.opensource.org/licenses/bsd-license.php
**/
?>
<form method="post" action="/server/query_servermod.php" name="serverform" id="serverform">
<table border="0" cellpadding="5" cellspacing="1" width="500" class="formtable">
<tr valign="top">
	<td class="formfielddesc">Select Server To Copy From:<br /></td>
	<td class="formfield">
		<select name="copyServerID" size="1" class="selectfield">
			<option value=""></option>
			<?
			$aCriteria = array(
				"active" => -1
			);
			$aServers = $BigDaddyData->GetServers($aCriteria);
			
			foreach ($aServers["aResults"] as $nIndex => $row)
			{
				if ($row["serverID"] != $_REQUEST["serverID"])
				{
			?>
				<option value="<?=$row["serverID"];?>"><?=$row["hostname"];?></option>
			<?
				}
			}

			?>
		</select>
	</td>
</tr>
<tr valign="top">
	<td class="formfielddesc" colspan="2">
	<div align="center">
		<input type="hidden" name="action" value="copyallmod" />
		<input type="hidden" name="serverID" value="<?=$_REQUEST["serverID"];?>" />
	</div>
	</td>
</tr>
</table>
</form>

